package com.yitongmao.bean;

import java.util.List;

/*
* 作者：梁伟航 on 2017/7/31 17:57
* 类的用途：
*/
public class DaiFuKuanBean {


    /**
     * result : {"state":"1","code":"SUCCESS","url":null,"obj":null,"isRollBack":null,"message":"查询成功!"}
     * orderList : [{"orderId":19,"orderCode":"2017195490001","state":"02","stateName":"待发货","totalPrice":3000,"createTime":"2017-07-27 18:41:53","type":"01","version":0,"orderGoods":[{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg","tradePrice":3000,"number":1,"state":null}],"orderType":{"reservePrice":900,"finalPrice":2100,"reserveState":"00","finalState":"00","earnestDepic":null}},{"orderId":29,"orderCode":"2017296800001","state":"02","stateName":"待发货","totalPrice":3000,"createTime":"2017-07-28 16:14:07","type":"01","version":0,"orderGoods":[{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg","tradePrice":3000,"number":1,"state":null}],"orderType":{"reservePrice":900,"finalPrice":2100,"reserveState":"00","finalState":"00","earnestDepic":null}}]
     */

    public ResultBean result;
    public List<OrderListBean> orderList;

    public static class ResultBean {
        /**
         * state : 1
         * code : SUCCESS
         * url : null
         * obj : null
         * isRollBack : null
         * message : 查询成功!
         */

        public String state;
        public String code;
        public Object url;
        public Object obj;
        public Object isRollBack;
        public String message;
    }

    public static class OrderListBean {
        /**
         * orderId : 19
         * orderCode : 2017195490001
         * state : 02
         * stateName : 待发货
         * totalPrice : 3000.0
         * createTime : 2017-07-27 18:41:53
         * type : 01
         * version : 0
         * orderGoods : [{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg","tradePrice":3000,"number":1,"state":null}]
         * orderType : {"reservePrice":900,"finalPrice":2100,"reserveState":"00","finalState":"00","earnestDepic":null}
         */

        public int orderId;
        public String orderCode;
        public String state;
        public String stateName;
        public double totalPrice;
        public String createTime;
        public String type;
        public int version;
        public OrderTypeBean orderType;
        public List<OrderGoodsBean> orderGoods;

        public static class OrderTypeBean {
            /**
             * reservePrice : 900.0
             * finalPrice : 2100.0
             * reserveState : 00
             * finalState : 00
             * earnestDepic : null
             */

            public double reservePrice;
            public double finalPrice;
            public String reserveState;
            public String finalState;
            public Object earnestDepic;
        }

        public static class OrderGoodsBean {
            /**
             * followId : 0
             * goodsId : 15
             * title : 【越南】红心火龙果 (中箱/大果)
             * goodsThumb : http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg
             * tradePrice : 3000.0
             * number : 1
             * state : null
             */

            public int followId;
            public int goodsId;
            public String title;
            public String goodsThumb;
            public double tradePrice;
            public int number;
            public Object state;
        }
    }
}
